package com.jinmdz.fmis.api.admin.model.goodsservice;

import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.common.constant.EValidateCode;
import com.jinmdz.fmis.core.base.BasePageData;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 物品服务类型请求数据
 *
 * @author GuanKui
 * @date 2020/3/10 9:28
 */
@ApiModel(value = "物品服务类型请求数据", description = "物品服务类型请求数据")
public class GoodsServiceTypeData extends BasePageData {

    /**
     * 物品服务类型
     */
    @AnValidate(name = "物品服务类型", required = true, code = EValidateCode.GREATER_ZERO)
    @ApiModelProperty(value = "物品服务类型", name = "serviceTypeId", position = 1)
    private Integer serviceTypeId;

    /**
     * 查询关键字
     */
    @ApiModelProperty(value = "查询关键字", name = "keyword", position = 2)
    private String keyword;

    public Integer getServiceTypeId() {
        return serviceTypeId;
    }

    public GoodsServiceTypeData setServiceTypeId(Integer serviceTypeId) {
        this.serviceTypeId = serviceTypeId;
        return this;
    }

    public String getKeyword() {
        return keyword;
    }

    public GoodsServiceTypeData setKeyword(String keyword) {
        this.keyword = keyword;
        return this;
    }
}
